php date object to timestamp

40

php datetime from timestamp -

$ts = 1171502725;
$date = new DateTime("@$ts");

Comments

Submit
0 Comments